package com.ruoyi.work.domain.vo;

import com.ruoyi.common.utils.Arith;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @Author: MMDZ
 * @Desc: TODO 日期合计
 */
@Data
public class UserHourByDateReport {
    private String strDate;//日期
    private Double sumProjectHour;//项目合计工时
    private List<Map<String, Double>> projectHours;//项目工时

    public UserHourByDateReport(String strDate, Double sumProjectHour) {
        this.strDate = strDate;
        this.sumProjectHour = Arith.round(sumProjectHour, 1);// 四舍五入保留一位小数
    }
}
